home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / driver / mw612.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-05-22  |  3KB  |  104 lines

  1. echo off
  2. cls
  3. IF NOT EXIST COMCHECK.EXE GOTO WRONGDSK
  4. goto START
  5. :WRONGDSK
  6. echo  
  7. echo          The current drive/directory must be the mouse disk.
  8. echo  
  9. echo          Example:
  10. echo          -------
  11. echo  
  12. echo          To install your mouse software from the drive A, type
  13. echo  
  14. echo          A:        [┘]
  15. echo          INSTALL   [┘]
  16. goto ENDERROR
  17. :START
  18. echo  
  19. echo  
  20. echo        Running Mouse Installation Program
  21. echo  
  22. echo  
  23. echo        Searching for a mouse...... Please wait
  24. echo  
  25. echo  
  26. mouse cenhance ser lo nb > nul
  27. if errorlevel 128 goto LookForOther
  28. goto RunMWINST
  29. :LookForOther
  30. echo  
  31. echo        Searching for a mouse...... Please wait
  32. echo  
  33. mouse cenhance lo nb > nul
  34. if errorlevel 141 goto BUSERR
  35. if errorlevel 128 goto PS2SERIAL
  36. :RunMWINST
  37. MWINST MSMMLDADDC > nul
  38. if errorlevel 2 GOTO TERMINATED
  39. if errorlevel 1 GOTO INITERROR
  40. cls
  41. echo  
  42. echo  
  43. echo          End of Mouse Installation.
  44. echo  
  45. echo          Please re-boot your machine now.
  46. echo  
  47. echo  
  48. goto THEEND
  49. :INITERROR
  50. echo  
  51. echo  
  52. echo          Installation program could not run.
  53. echo  
  54. echo          Make sure you have enough file handles in CONFIG.SYS.
  55. echo  
  56. echo          E.g.    FILES=20
  57. GOTO ENDERROR
  58. :TERMINATED
  59. echo  
  60. echo  
  61. echo          Installation terminated!
  62. echo  
  63. echo          Your mouse software has not been installed correctly.
  64. GOTO ENDERROR.
  65. :PS2SERIAL
  66. cls
  67. echo  
  68. echo          Your PS/2 or serial mouse is not responding......
  69. echo  
  70. echo          PS/2 mouse: 
  71. echo            - Turn your computer off.
  72. echo            - Re-check the mouse cable connection.
  73. echo            - Re-boot and try the installation once again.
  74. echo  
  75. echo          Serial mouse:
  76. echo            - Run the COMCHECK program (type A:\COMCHECK) to check
  77. echo              your serial port(s) interrupts and mouse connection.
  78. echo            - Turn your computer off.
  79. echo            - Re-check the mouse cable connection.
  80. echo            - Re-boot and try the installation once again.
  81. goto ENDERROR  
  82. :BUSERR
  83. cls
  84. echo  
  85. echo          Your Bus Version mouse is not responding...
  86. echo  
  87. echo          - Turn your computer off.
  88. echo          - Re-check the cable connection and your bus board 
  89. echo            installation.
  90. echo          - Make sure the interrupt jumper is set.
  91. echo          - Re-boot and try the installation once again.
  92. :ENDERROR
  93. echo  
  94. echo          
  95. echo          For more information, please refer to your documentation.
  96. echo  
  97. echo  
  98. echo  
  99. echo  
  100. echo  
  101. goto THEEND
  102. :THEEND
  103. echo on
  104.